package com.wormhole.wormholemanagement.dto;

import com.wormhole.wormholemanagement.entity.Position;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
public class PositionDTO {
    private Long positionId;
    private String title;
    private String description;

    public PositionDTO(Position position) {
        this.positionId = position.getPositionId();
        this.title = position.getTitle();
        this.description = position.getDescription();
    }
}

